*{margin: 0px; padding: 0px;}
body{ font: 12px "宋体","Arial Narrow",HELVETICA; -webkit-font-smoothing: antialiased;}
ul,li{ list-style: none; }
a{ text-decoration: none; color: #000;}
.container{ min-width: 1024px; margin: 0 auto; }
header,nav,content{ width: 1024px; margin: 0 auto; position: relative;}
header{height: 45px; padding: 10px;}
h1{ line-height: 45px; }
nav{ height: 35px; line-height: 35px; background-color: #04D0F1;}
.search{ float: left; width: 89%; margin-left: 3px;}
.w{ height: 24px; width: 220px; padding: 1px; text-indent: .5em;}
.seach_btn{ height: 28px; width: 60px; border: none; background-color: #f00; color: #fff; font-weight: bold;}
nav ul{ float: right; width: 10%;}
nav li{ width: 50%; float: left; text-align: center;}
/* 用户账号 */
#userid{ font-size: 14px; font-weight: bold; color: #fff; background-color: #2196F3;}
nav li a{ font-size: 14px; display: block; color: #fff;}
nav li a:hover{  background-color: #333; }
article{ width: 1170px; margin: 0 auto;  padding: 2%;}
article>.title{ text-align: center; font-size: 20px; height: 45px; line-height: 45px; padding: 15px 0;}
article>p{ height: 30px; line-height: 30px; font-size: 16px; margin: 0px 85px;}
/* 空数据 */
article>.null_data{ text-align: center; padding: 15px 0;}
article>p>a{ font-size: 14px; display: inline-block; padding-right: 10px;}
article>p>span{ display: block; float: right; }
article>p>span>a:hover{ text-decoration: underline;}
/* 添加话题 */
article>.add_title,article>.add_author{ margin-left: 80px;}
article>div{ height: 30px; line-height: 30px; margin-top: 10px; margin-bottom: 10px;}
.title,.author,.time{ height: 100%; width: 200px; padding: 0 2px 0 2px; font-size: 14px;}
article>textarea{ width: 300px; height: 160px; resize: none; border: 1px solid #ccc; padding: 2px; font-size: 14px; margin-left: 80px;€}
#addbtn{ height: 30px; width: 65px; border: 1px solid #f00; background-color: #f00; color: #fff; font-size: 14px; margin-left: 80px;}
/* 用户中心 */
article>.sidebar,article>.row{ float: left; position: relative;}
article>.sidebar{ width: 10%; margin-left: 60px; }
article>.row{ width: 80%; background-color: #f00; }
article>.sidebar>ul{ height: 250px; }
article>.sidebar>ul>li{ height: 35px; list-style: none; text-align: center; line-height: 35px; display: block;}
article>.sidebar>ul>li:hover{ border: 1px solid #999;}
article>.sidebar #h_img{ height: 30%; width: 100%; border: none;}
article>.sidebar #h_img>img{ width: 90%; height: 90%; margin: 0 auto; border: 1px solid #ccc;}
article>.sidebar>a{ text-decoration: none; }
#username{ font-size: 14px; font-weight: bold; border: none;}


/* 话题内容 */
.desc_content{ width: 800px; margin: 0 auto;}
.desc_content .title{ height: 50px; line-height: 50px; font-size: 18px; font-weight: bold;}
.desc_content .author_time{ height: 20px; line-height: 20px; font-style: italic;}
.desc_content .author_time span{ display: block; float: right;}
.desc_content .content{ font-size: 14px; padding: 5px 0px; text-indent: 1.5em; word-wrap: break-word;}
.img{ width: 300px; height: 30px; line-height: 30px; text-align: center; font-size: 16px;  margin: 0 auto; }
#like,#deslike{ height: 15px; width: 15px; }
#like{ -moz-transform:scaleX(1); -webkit-transform:scaleX(1); -o-transform:scaleX(1); transform:scaleX(1); filter:FlipH;}
#deslike{ -moz-transform:scaleY(-1); -webkit-transform:scaleY(-1);-o-transform:scaleY(-1); transform:scaleY(-1); filter:FlipV;}
#clear{ clear: both; margin-top: 125px}

/* 回复话题 */
.reply_content{ height: 65px; width: 350px; border-bottom: 1px solid #bbb; font-size: 14px; margin: 10px auto; word-wrap: break-word;}
.reply_content span{ height: 50px; width: 50px; line-height: 50px; border-radius: 30px; background-color: #f00; color: #fff; display: block; font-size: 18px; float: left; text-align: center; font-weight: bolder; margin: 0 20px;}
.reply_msg{ width: 350px; margin: 65px auto 0px auto;}
.reply_msg>textarea{ width: 350px; height: 85px; resize: none; text-indent: .5em; padding: 5px 0; font-size: 14px;}
.reply_msg>#btn{ height: 30px; width: 65px; border: 1px solid #fff; color: #fff; background-color: #f00; font-size: 14px; float: right;}

/*踩赞*/
#like,#deslike{ height: 15px; width: 15px; }
#like{-moz-transform:scaleX(1); -webkit-transform:scaleX(1); filter: FlipH;}
#deslike{-moz-transform:scaleX(-1); -webkit-transform:scaleX(-1); filter: FlipV;}